package com.siyoumi.app.modules.app_book.vo;

import com.siyoumi.validator.annotation.EqualsValues;
import com.siyoumi.validator.annotation.HasAnyText;
import lombok.Data;

import javax.validation.constraints.Size;
import java.util.List;

//订单确认
@Data
public class VaBookOrderConfirm {
    @HasAnyText(message = "缺少订单号")
    private String id;
    @EqualsValues(vals = {"10", "1"})
    private Integer confirm;
    @Size(max = 50, message = "原因长度最多50")
    private String confirm_desc; //原因
}
